from django.http import HttpResponse

def index(request):
    line1 = '<h1  style="text-align: center">测试网页</h1>'
    line2 = '<img src ="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRRak8qgk1KHESHXLI2gd5rg36wCf_aeYLgDw&usqp=CAU"  width=800>'
    return HttpResponse(line1 + line2)

